package com.geetour.columbus.common.service;

import java.util.List;

import com.geetour.columbus.common.exceptions.ServiceException;
import com.geetour.columbus.common.model.R.CityPage;

public interface ICityPageService {

    public void insertCityPage(CityPage city) throws ServiceException;

    public int insertCityPageNames(String province, List<String> names) throws ServiceException;

    public int updateCityPage(CityPage city) throws ServiceException;

    public int deleteCityPageById(Long id) throws ServiceException;

    public CityPage findCityPageById(Long id) throws ServiceException;

    public List<CityPage> findAllCityPages() throws ServiceException;

    public List<CityPage> findCityPages(CityPage city) throws ServiceException;
    
    public List<CityPage> findCityPagesByProvince(String province) throws ServiceException;
}
